﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TaskListTest.aspx.cs" Inherits="Task.TaskListTest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table border="0" cellpadding="0" cellspacing="0" class="listTable">
                <tr class="bg">
                    <th class="borderL">
                        <%=Task.Content.lang.TaskList_Monitor %>
                    </th>
                    <th>
                        <%=Task.Content.lang.TaskList_Status %>
                    </th>
                    <th>
                        <%=Task.Content.lang.TaskList_ProcessName %>
                    </th>
                    <th>
                        <%=Task.Content.lang.TaskList_Incident %>
                    </th>
                    <th>
                        <%=Task.Content.lang.TaskList_Summary %>
                    </th>
                    <th>
                        <%=Task.Content.lang.TaskList_StepName %>
                    </th>
                    <th class="borderR">
                        <%=Task.Content.lang.TaskList_StartTime %>
                    </th>
                </tr>
                <asp:Repeater ID="rptTask" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td>
                               
                                <img src="Content/css/icon7.gif" /></a>
                            </td>
                            <td>
                               
                            </td>
                            <td>
                                <a href="OpenForm.aspx?TaskId=<%#Eval("TaskID") %>" target="_blank">
                                    <%#Eval("ProcessName")%></a>
                            </td>
                            <td>
                                <%#Eval("Incident")%>
                            </td>
                            <td>
                               
                            </td>
                            <td>
                                <%#Eval("StepLabel")%>
                            </td>
                            <td>
                                <%#Eval("StartTime")%>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                    onpageindexchanging="GridView1_PageIndexChanging">
                </asp:GridView>
                <tr>
                    <td colspan="7">
                        <div id="pagelist">
                            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CustomInfoHTML="Count %RecordCount%"
                                HorizontalAlign="right" Width="100%" CssClass="aspNetPager" OnPageChanged="AspNetPager1_PageChanged"
                                PageSize="10" AlwaysShow="true" 
                                >
                            </webdiyer:AspNetPager>
                        </div>
                    </td>
                </tr>
            </table>
    </div>
    </form>
</body>
</html>
